package com.web.kdl.dao.alert;

import com.web.kdl.entity.alert.Alert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @Author： shulibin
 * @Date： 2025/7/21 10:31
 * @Describe：
 */
@Mapper
@Repository
public interface AlertDao {

    List<Alert> getAllAlertData(@Param("tableName") String tableName);

    List<Alert> selectAllHistoryEventByTime(@Param("tableName") String tableName,Date time);
}
